package com.atguigu.exam;

/**
 * @author xbd
 * @create 2021-05-22 14:30
 */
public class ThreadExtends {
    public static void main(String[] args) {
        Thread1 t1 = new Thread1();
        t1.start();

    }
}

class Thread1 extends Thread{
    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.println(i);
        }
    }
}